package com.hnas.eCard.orm;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "tbl_sale_card_order_detail")
public class SaleCardOrderDetail {

	@Id
	@Column(name = "id")
	private String id;//主键id
	@Column(name = "order_no")
	private String orderNo;//订单编号
	@Column(name = "sale_count")
	private Integer saleCount;//售卡数量
	@Column(name = "denomination")
	private Long denomination;//卡面额
	@Column(name = "cards")
	private String cards;//卡号（多卡号用逗号隔开）
	@Column(name = "sale_type")
	private String saleType;//购卡类型0-买给自己1-买给他人
	@Column(name = "send_phone_no")
	private String sendPhoneNo;//赠卡人手机号
	@Column(name = "receive_phone_no")
	private String receivePhoneNo;//收卡人手机号
	@Column(name = "send_name")
	private String sendName;
	@Column(name = "receive_name")
	private String receiveName;
	@Column(name = "send_msg")
	private String sendMsg;
	@Column(name = "openid")
	private String openid;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public Integer getSaleCount() {
		return saleCount;
	}
	public void setSaleCount(Integer saleCount) {
		this.saleCount = saleCount;
	}
	public Long getDenomination() {
		return denomination;
	}
	public void setDenomination(Long denomination) {
		this.denomination = denomination;
	}
	public String getCards() {
		return cards;
	}
	public void setCards(String cards) {
		this.cards = cards;
	}
	public String getSaleType() {
		return saleType;
	}
	public void setSaleType(String saleType) {
		this.saleType = saleType;
	}
	public String getSendPhoneNo() {
		return sendPhoneNo;
	}
	public void setSendPhoneNo(String sendPhoneNo) {
		this.sendPhoneNo = sendPhoneNo;
	}
	public String getReceivePhoneNo() {
		return receivePhoneNo;
	}
	public void setReceivePhoneNo(String receivePhoneNo) {
		this.receivePhoneNo = receivePhoneNo;
	}
	public String getSendName() {
		return sendName;
	}
	public void setSendName(String sendName) {
		this.sendName = sendName;
	}
	public String getReceiveName() {
		return receiveName;
	}
	public void setReceiveName(String receiveName) {
		this.receiveName = receiveName;
	}
	public String getSendMsg() {
		return sendMsg;
	}
	public void setSendMsg(String sendMsg) {
		this.sendMsg = sendMsg;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	
}
